package cn.exrick.xboot.core.config.exception

import kotlin.RuntimeException

/**
 * @author  fly
 * @date  2021/3/30 14:13
 * @version 1.0
 */
data class FlyException(var msg: String, var code: Int) : RuntimeException() {

    init {
        super.message
    }

    constructor(msg: String): this(msg, ExceptionEnum.EXCEPTION_ERROR.code)

}